package com.tusuo.stds.ui.scenesetting;

import android.content.Context;

import com.hannesdorfmann.mosby.mvp.MvpBasePresenter;
import com.tusuo.stds.MyApp;
import com.tusuo.stds.di.DaggerScope;
import com.tusuo.stds.di.Injector;
import com.tusuo.stds.rest.ApiHelper;
import com.tusuo.stds.rest.SceneList;

import javax.inject.Inject;

import autodagger.AutoComponent;
import autodagger.AutoInjector;
import rx.Subscriber;

/**
 * Created by developer on 17-8-28.
 */

@AutoComponent(
        dependencies = MyApp.class
)
@AutoInjector
@DaggerScope(SceneSettingPresenter.class)
public class SceneSettingPresenter extends MvpBasePresenter<SceneSettingView> {

    @Inject
    ApiHelper mApiHelper;

    private Context mContext;

    SceneSettingPresenter(Context context) {
        mContext = context;
        Injector.initSceneSettingPresenterComponent().inject(this);
    }


    @Override
    public void attachView(SceneSettingView view) {
        super.attachView(view);
    }

    @Override
    public void detachView(boolean retainInstance) {
        super.detachView(retainInstance);
    }


}
